package com.lifp.config.oauth.detail;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2022/8/12
 * @Version 1.0
 */
public interface CustomUserDetailService extends UserDetailsService {

    /**
    *@Description 增强，根据微信openId登录
    *@param openId
    *@Return
    */
    UserDetails loadUserByWXOpenId(String openId) throws UsernameNotFoundException;
}
